package com.flash.variety.domain;

import java.util.List;

/**
* @description: TODO
* @author admin
* @date 2023/2/214:52
* @version 1.0
*/
public class PreferentialDTO {

    private Integer type;

    private String pname;

    private List<Preferential> children;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public List<Preferential> getChildren() {
        return children;
    }

    public void setChildren(List<Preferential> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "PreferentialDTO{" +
                "type=" + type +
                ", pname='" + pname + '\'' +
                ", children=" + children +
                '}';
    }
}
